package ch01_design_principles.interfacesegregation;

/**
 * @author guodd
 * @version 1.0
 */
public class Dog implements IAnimalAction {
    @Override
    public void eat() {
        System.out.println("eat...");
    }

    @Override
    public void swim() {
        System.out.println("swim...");
    }

    @Override
    public void fly() {
        System.out.println("fly...");
    }
}
